package com.archetypus.projectschedule.common.dto.involvements;

import java.io.Serializable;

import com.archetypus.projectschedule.common.dto.activities.ActivityKey;
import com.archetypus.projectschedule.common.dto.people.PersonKey;

public class InvolvementKey implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -139134057848830764L;
	private int project;
	private int activity;
	private int responsible;
	
	public InvolvementKey(){}
	
	public InvolvementKey(ActivityKey activityKey, PersonKey personKey){
		project = activityKey.getProject();
		activity = activityKey.getId();
		responsible = personKey.getId();
	}
	public int getProject() {
		return project;
	}
	public void setProject(int project) {
		this.project = project;
	}
	public int getActivity() {
		return activity;
	}
	public void setActivity(int activity) {
		this.activity = activity;
	}
	public int getResponsible() {
		return responsible;
	}
	public void setResponsible(int responsible) {
		this.responsible = responsible;
	}
}
